#include <iostream>
#include <vector>

using namespace std;

#include "CompareFun.h"
#include "PriorityQueue.h"

void test()
{
	vector<int> v = { 23,12,4,2,6,22,546,9,10,6,45 };
	PriorityQueue::priority_queue<int/*, vector<int>, greater<int>*/> pq(v.begin(), v.end());
	//for (size_t i = 0; i < pq.size(); i++)
	//{
	//	cout << pq._con[i] << ' ';
	//}
	//cout << endl;

	while (!pq.empty())
	{
		cout << pq.top() << ' ';
		pq.pop();
	}
	cout << endl;
	cout << pq.empty() << endl;
}

int main()
{
	test();

	return 0;
}
